package notes.java.sjms23.s5_command;
// 打开播放器 命令
public class TurnOnCommand implements Command{

    private Player player;

    public TurnOnCommand(Player player) {
        this.player = player;
    }

    @Override
    public void execute() {
        this.player.turnOn();
    }
}